
    

<!--{include file="<!--{$tplpath}-->site_header.html"}-->


<link rel="stylesheet" type="text/css"  href="<!--{$skinpath}-->css/index2.min.css" />
<link  rel="stylesheet" type="text/css" href="<!--{$skinpath}-->css/global.css"  />
<link rel="stylesheet" type="text/css"  href="<!--{$skinpath}-->css/lubo.min.css" />
<script type="text/javascript">
function formsubmit()
 {
 if (formcheck())
 {

      document.regform.action="saveuser.php?action=add";
      document.regform.method="post";
      document.regform.submit();
   }  
}

  function formcheck() 
    { 
       if(document.getElementById("loginname").value== "") 
         { alert("请输入用户名");
           document.regform.loginname.focus();
           document.regform.loginname.select(); 
           return false;
         }
       if(document.regform.loginname.value.length<3) 
         { alert("用户名不能小于3位");
           document.regform.loginname.focus();
           document.regform.loginname.select(); 
           return false;
         }   


if ((document.regform.password.value).length<6)
{
alert("密码应大于等于6位！");
document.regform.password.focus();
document.regform.password.select();
return false;
}

if(document.regform.password1.value!=document.regform.password.value)
{
alert("两次密码输入不一致");
document.regform.password1.focus();
document.regform.password1.select();
return false;
}



    return true;      
    }





</script>
<div class="exchange xm-service-box">

    <div class="breadcrumbs">
        <div class="container breadcrumbs">
            <a href='../../<!--{$url_index}-->'>首页</a><span class="sep">/</span><!--{$navigation}-->
        </div>
    </div>

    <div class="container">
        <div class="exchange">
        <!-- 轮播图 -->
            <div class="home-hero">
                <div class="home-hero-slider">
                    <div id="J_homeSlider" class="xm-slider" data-stat-title="成功案例轮播">
                    <!--{foreach key=key item=item from=$ads_zone1 name=adsname}-->
                        <div class="slide loaded">
                            <a href="<!--{$item.url}-->" target="_blank"  onClick="_gaq.push(['_trackEvent', '<!--{$item.adsname}-->', 'A<!--{$smarty.foreach.adsname.iteration}-->', '<!--{$item.url}-->']);">
                                <img width="1226" height="440" src="<!--{$item.uploadfiles}-->" alt="<!--{$item.adsname}-->" />
                            </a>
                        </div>
                    <!--{/foreach}-->  
                   </div>
                </div>
            </div>

            <!-- 左侧分类 -->

            <div class="row">
                <div class="span4">
                    <div class="xm-service-sidebar">
                        <div class="content">
                            <div class="xm-sidebar-content">
                                <div class="nav-list">
                                    <h3>会员中心</h3>
                                    <ul class="uc-nav-list feature">
                                <!--{if $username eq ""}-->
                                <li><a href="register.php" target="_blank" style="margin-left: 5px;">注册会员</a></li>
                                <li><a href="indexm.php" target="_blank" style="margin-left: 5px;">会员登录</a></li>
                                <!--{else}-->
                                <li><a href="index.php" target="_blank" style="margin-left: 5px;">会员中心首页</a></li>
                                <li><a href="userinfo.php" target="_blank" style="margin-left: 5px;">修改基本信息</a></li>
                                <li><a href="mymessage.php" target="_blank" style="margin-left: 5px;">我的留言</a></li>
                                <li><a href="myorder.php" target="_blank" style="margin-left: 5px;">我的订单</a></li>
                                <li><a href="resume.php" target="_blank" style="margin-left: 5px;">注册会员</a></li>
                                <li><a href="register.php" target="_blank" style="margin-left: 5px;">注册会员</a></li>
                                <!--{/if}-->


                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


                <!-- 右侧详情 -->
                <div class="span16">
                    <div class="content">
                        <div class="xm-exchange-content phone" data-class="phone" style="display: block;">
                            <div class="service-hd">
                                <h2>会员中心</h2>
                            </div>
                            <div style="width:auto;height:auto">
                                <div class="webcontent">
                                    <div id="img_list" style="width:760px;">
                                        <div id="plug1">
                                            <form method="POST"  name="regform" >
    <table cellpadding="1" border="0" cellspacing="1">
    <tr>
    <td class="zhuce_text"><span>用户名:</span></td>
    <td class="zhuce_input"><input id="loginname" name="loginname" type="text" class="input-text" /></td>
    </tr>
    <tr>
    <td class="zhuce_text"><span>登录密码:</span></td>
    <td class="zhuce_input"><input name="password" id="password" type="password" class="input-text" /></td>
    </tr>
    <tr>
    <td class="zhuce_text"><span>密码确认:</span></td>
    <td class="zhuce_input"><input  name="password1" id="password1" type="password" class="input-text" /></td>
    </tr>
    <tr>
    <td class="zhuce_text"><span>性别：</span></td>
    <td class="zhuce_input"><input name="Sex" type="radio" value="1" checked="checked" class="inputnoborder" />先生 
     <input type="radio" name="Sex" value="0" class="inputnoborder" />女士</td>
    </tr>
   <!--{foreach $result as $volist}-->
	<!--{if $volist.id != 6}-->
	<tr>  
	<td class="zhuce_text"><span><!--{$volist.register_name}-->:</span></td>
    <td class="zhuce_input"><input name="<!--{$volist.register_id}-->" id="<!--{$volist.register_id}-->" type="text" class="input-text" /></td>
	</tr>
	<!--{else}--> 
	<tr>
	<td class="zhuce_text"><span><!--{$volist.register_name}-->:</span></td>
    <td class="zhuce_input" colspan="2"><textarea name='<!--{$volist.register_id}-->' id='<!--{$volist.register_id}-->' style='width:260px;height:65px;overflow:auto;color:#444444;'></textarea></td>
	</tr>
	<!--{/if}--> 
	<!--{/foreach}-->
    <tr>
    <td class="zhuce_text"></td>
    <td class="zhuce_subimt" colspan="2">
    <input type="button" id="b_save" name="b_save" onClick="formsubmit()" value="立即注册" />
    <input type="reset" value="重填" id="b_reset" name="b_reset" /></td>
    </tr>
    </table>
</form>
                                        <div style=" clear:both;"></div>
                                    </div>
                                 
                                </div>
                              </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--{include file="<!--{$tplpath}-->site_footer.html"}-->
